package work.huangxin.share.service;


import cn.hutool.db.PageResult;
import com.github.pagehelper.PageInfo;
import org.bouncycastle.asn1.ocsp.ResponseData;
import work.huangxin.share.domain.delivery.DeliveryInfo;

import java.util.ArrayList;
import java.util.List;

/**
 * (DeliveryInfo) 服务接口
 *
 * @author 张锦标
 * @since 2023-04-24 21:29:51
 */
public interface DeliveryInfoService {

    /**
     * 根据ID查询详情
     * @param DeliveryInfoId ID
     * @return 查询到的详情
     */
    DeliveryInfo selectDeliveryInfoById(Long DeliveryInfoId);

    /**
     * 新增
     * @param DeliveryInfo 
     * @return 返回插入成功后的id
     */
    long insertDeliveryInfo(DeliveryInfo DeliveryInfo);
    
    /**
     * 修改
     * @param DeliveryInfo 
     * @return 返回是否修改成功
     */
    boolean updateDeliveryInfo(DeliveryInfo DeliveryInfo);
    
    /**
     * 删除
     * @param DeliveryInfoIds 
     * @return 返回是否删除成功
     */
    boolean deleteDeliveryInfo(List<Long> DeliveryInfoIds);

    PageInfo<DeliveryInfo> selectDeliveryInfoPage(Integer pageNum, Integer pageSize);
}

